Package pl.wendigo.chrome.api.webauthn

Contains DevTools Protocol WebAuthn domain implementation accessible via WebAuthnDomain class.

Types

AddCredentialRequest
Link copied to clipboard
data class AddCredentialRequest(authenticatorId: AuthenticatorId, credential: Credential)
Represents request frame that can be used with WebAuthn#addCredential operation call.
AddVirtualAuthenticatorRequest
Link copied to clipboard
data class AddVirtualAuthenticatorRequest(options: VirtualAuthenticatorOptions)
Represents request frame that can be used with WebAuthn#addVirtualAuthenticator operation call.
AddVirtualAuthenticatorResponse
Link copied to clipboard
data class AddVirtualAuthenticatorResponse(authenticatorId: AuthenticatorId)
Represents response frame that is returned from WebAuthn#addVirtualAuthenticator operation call.
AuthenticatorId
Link copied to clipboard
typealias AuthenticatorId = String
AuthenticatorProtocol
Link copied to clipboard
enum AuthenticatorProtocol : Enum<AuthenticatorProtocol>
AuthenticatorTransport
Link copied to clipboard
enum AuthenticatorTransport : Enum<AuthenticatorTransport>
ClearCredentialsRequest
Link copied to clipboard
data class ClearCredentialsRequest(authenticatorId: AuthenticatorId)
Represents request frame that can be used with WebAuthn#clearCredentials operation call.
Credential
Link copied to clipboard
data class Credential(credentialId: String, isResidentCredential: Boolean, rpId: String?, privateKey: String, userHandle: String?, signCount: Int, largeBlob: String?)
Ctap2Version
Link copied to clipboard
enum Ctap2Version : Enum<Ctap2Version>
GetCredentialRequest
Link copied to clipboard
data class GetCredentialRequest(authenticatorId: AuthenticatorId, credentialId: String)
Represents request frame that can be used with WebAuthn#getCredential operation call.
GetCredentialResponse
Link copied to clipboard
data class GetCredentialResponse(credential: Credential)
Represents response frame that is returned from WebAuthn#getCredential operation call.
GetCredentialsRequest
Link copied to clipboard
data class GetCredentialsRequest(authenticatorId: AuthenticatorId)
Represents request frame that can be used with WebAuthn#getCredentials operation call.
GetCredentialsResponse
Link copied to clipboard
data class GetCredentialsResponse(credentials: List<Credential>)
Represents response frame that is returned from WebAuthn#getCredentials operation call.
RemoveCredentialRequest
Link copied to clipboard
data class RemoveCredentialRequest(authenticatorId: AuthenticatorId, credentialId: String)
Represents request frame that can be used with WebAuthn#removeCredential operation call.
RemoveVirtualAuthenticatorRequest
Link copied to clipboard
data class RemoveVirtualAuthenticatorRequest(authenticatorId: AuthenticatorId)
Represents request frame that can be used with WebAuthn#removeVirtualAuthenticator operation call.
SetAutomaticPresenceSimulationRequest
Link copied to clipboard
data class SetAutomaticPresenceSimulationRequest(authenticatorId: AuthenticatorId, enabled: Boolean)
Represents request frame that can be used with WebAuthn#setAutomaticPresenceSimulation operation call.
SetUserVerifiedRequest
Link copied to clipboard
data class SetUserVerifiedRequest(authenticatorId: AuthenticatorId, isUserVerified: Boolean)
Represents request frame that can be used with WebAuthn#setUserVerified operation call.
VirtualAuthenticatorOptions
Link copied to clipboard
data class VirtualAuthenticatorOptions(protocol: AuthenticatorProtocol, ctap2Version: Ctap2Version?, transport: AuthenticatorTransport, hasResidentKey: Boolean?, hasUserVerification: Boolean?, hasLargeBlob: Boolean?, automaticPresenceSimulation: Boolean?, isUserVerified: Boolean?)
WebAuthnDomain
Link copied to clipboard
class WebAuthnDomain : Domain
This domain allows configuring virtual authenticators to test the WebAuthn API.